package com.qfedu.zy.services.impl;

import com.qfedu.zy.dao.ItemDAO;
import com.qfedu.zy.pojos.Item;
import com.qfedu.zy.services.iltemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class iItemServiceImpl implements iltemService {

    @Autowired
    private ItemDAO itemDAO;

    public List<Item> query() {
        return itemDAO.listItem();
    }
}
